package cn.webrx.service;

import cn.webrx.entity.Captcha;
import cn.webrx.mapper.CaptchaMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CaptchaServiceImpl extends ServiceImpl<CaptchaMapper, Captcha> implements CaptchaService {
    @Autowired
    CaptchaMapper cm;
    @Override
    public String getCaptcha(String id) {
        return cm.getCaptcha(id);
    }
}
